package com.dhj.optionalTest;

import com.dhj.streamTest.entity.Author;

public class Demo1 {

    public static void main(String[] args) {
        Author author = getAuthor();

        System.out.println(author.getName());

    }


    public static Author getAuthor() {
        Author author = new Author(5L, "林则徐", 45, "苟利国家生死以", null);
        return null;
    }
}
